Ext.onReady(function(){

    //
    Ext.QuickTips.init();

    var tree = new Ext.tree.TreePanel({el: 'div-tree',
        loader: new Ext.tree.TreeLoader({dataUrl: '03-10.txt'})
    });

    var root = new Ext.tree.AsyncTreeNode({
        id: '0',
        text: '我的根'
    });

    tree.setRootNode(root);
    tree.render();

    root.expand();

});